package com.example.comment_oa.pojos.rear;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName loss
 */
@TableName(value ="loss")
@Data
public class Loss implements Serializable {
    /**
     * 报损报溢id
     */
    @TableId(value = "loss_id", type = IdType.AUTO)
    private Integer lossId;

    /**
     * 仓库编号
     */
    @TableField(value = "loss_entrepot_id")
    private Integer lossEntrepotId;

    /**
     * 报损报溢数量
     */
    @TableField(value = "loss_entrepot_amount")
    private String lossEntrepotAmount;

    /**
     * 报损报溢时间
     */
    @TableField(value = "loss_time")
    private Date lossTime;

    /**
     * 报损报溢人
     */
    @TableField(value = "loss_name")
    private String lossName;

    /**
     * 报损报溢
     */
    @TableField(value = "loss_spill")
    private String lossSpill;


    /**
     * 仓库信息
     */
    private Entrepot entrepot;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}